package com.ruicar.afs.cloud.apply.admin.manage.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruicar.afs.cloud.apply.admin.manage.entity.SysChannelAuthRegion;
import com.ruicar.afs.cloud.common.modules.apply.enums.CarTypeEnum;

import java.util.List;

/**
 * @author: Lee
 * @date 2020-06-03 11:19:24
 * @description
 */
public interface ApplyChannelAuthRegionService extends IService<SysChannelAuthRegion> {

    /**
     * 通过渠道ID和父类ID查询授权区域
     *
     * @param channelId
     * @param businessType
     * @param parentId
     * @return
     */
    public List<SysChannelAuthRegion> getChannelAuthRegionList(Long channelId, CarTypeEnum businessType, String parentId);

}
